package com.kaishengit.service;

import com.kaishengit.dao.TourguideDao;
import com.kaishengit.entity.Tourguide;

public class TourguideService {
private	TourguideDao  tgdao = new TourguideDao();
public Tourguide findByGuide(String daoyou){
	Tourguide guide = tgdao.findByName(daoyou);
	return guide;
}
public void saveGuide(String  daoyou,String tel){
	tgdao.insertSale(daoyou,tel);
}
public void saveGuide(String  daoyou){
	tgdao.insertSale(daoyou);
}
}
